package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.GetRoomUsersResponse;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/11/3.
 */

public interface GetRoomUsersRequest {
    @GET("get_room_users")
    Observable<BaseModel<GetRoomUsersResponse>> getResult(@Query("token") String token,
                                                          @Query("room_id") String room_id,
                                                          @Query("username") String username,
                                                          @Query("offset") int offset,
                                                          @Query("index") int index);
}
